Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to figure rendering and sizing. #33

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

copybara-service[bot]
Copy link

Improvements to figure rendering and sizing.

  • Improves size detection logic to properly account for the size of
    Plotly figures.
  • Adds an override to directly unwrap treescope figure objects without
    IFrame indirection.
  • Fixes deferred rendering insertion to preserve the original DOM nodes
    and their event listeners, instead of using a copy without event listeners.
  • Allows collapsing automatic visualizations when used with replace=False.

@copybara-service copybara-service bot force-pushed the test_670950158 branch 2 times, most recently from 32a5f02 to 7031799 Compare September 6, 2024 00:20
- Improves size detection logic to properly account for the size of
  Plotly figures.
- Adds an override to directly unwrap treescope figure objects without
  IFrame indirection.
- Fixes deferred rendering insertion to preserve the original DOM nodes
  and their event listeners, instead of using a copy without event listeners.
- Allows collapsing automatic visualizations when used with `replace=False`.

PiperOrigin-RevId: 671565706
@copybara-service copybara-service bot merged commit fd287df into main Sep 6, 2024
1 check passed
@copybara-service copybara-service bot deleted the test_670950158 branch September 6, 2024 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant